# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(CereLunaAnul)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(CereLunaAnul_SRCS cereLunaAnul.cpp  cereLunaAnulplugin.cpp)
QT4_WRAP_CPP(CereLunaAnul_SRCS cereLunaAnul.h  cereLunaAnulplugin.h)
QT4_WRAP_UI(CereLunaAnul_SRCS cereLunaAnul.ui)
QT4_ADD_RESOURCES(CereLunaAnul_SRCS cereLunaAnul.qrc)

add_library(CereLunaAnul SHARED ${CereLunaAnul_SRCS})
add_dependencies(CereLunaAnul KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(CereLunaAnul KontAMabil ${QT_LIBRARIES})

install(TARGETS CereLunaAnul ${INSTALL_PLUGINS_DEFAULT_ARGS})
